///###############
//FILE          : Keyed.java
//WRITER        : Lior Zimmerman, liorz06, 066462300
//WRITER        : Ohad Dan, ohad_dan, 036767960
//EXERCISE      : oop ex1 2008
//DESCRIPTION   : this inteface represents a keyed element.
//###############
package oop.ex1.sortedStructure;

/**
 * Key Interface - defines Key methods. 
 * @param <Key> Generic key of this type.
 */
public interface Keyed<Key> {
   /**
    * Retrieves key.
    * @return key
    */
	public Key getKey();    
}  